home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Compilers⁄Interps / GCC-2.3.3r12 / Build / sgC < prev   
Encoding:
Text File  |  1993-04-14  |  379 b   |  17 lines  |  [TEXT/MPS ]

  1. # Special gC that takes the tool location as its required first argument.
  2.  
  3. set echo 0
  4. set oldexit {exit}
  5. set exit 0
  6. # Extract the location of the driver program.
  7. set toolplace "{1}"
  8. shift 1
  9. set temp "••GCCDriverTemp••"
  10.  
  11. "{toolplace}"gcc_driver {"parameters"} -tools "{toolplace}" > "{temp}" && "{temp}"
  12.  
  13. set error {status}
  14. delete -i -y "{temp}"
  15. set exit {oldexit}
  16. exit "{error}"
  17.